/*
 * @Description:api接口
 * @Author: huahua
 * @Date: 2021-11-02 16:56:15
 * @LastEditTime: 2021-11-09 14:53:24
 * @LastEditors: huahua
 */
import http from "@/plugins/axios";
const baseUrl = "/api/v1";
export default {
	// getCodeById: params => http.post(baseUrl + "/login/captcha.png"+"?uuid="+params),
	getCodeById: params => http.post(baseUrl + "/login/captcha.png", params),
	login: params => http.post(baseUrl + "/login/access_token", params),
	getUserInfo: params => http.post(baseUrl + "/login/get_current_active_user", params),
	register: params => http.post(baseUrl + "/user/create", params),
};
